import request from '@/utils/request'

export function workTypeApi (params) {
  return request({
    url: '/api/ticketConfig/typeList',
    method: 'GET',
    params
  })
}
// 风险级别
export function riskLevelListApi (params) {
  return request({
    url: '/api/ticketConfig/riskLevelList',
    method: 'GET',
    params
  })
}
export function getTicketListApi (params) {
  return request({
    url: '/api/ticket/getTicketList',
    method: 'POST',
    headers: {
      'Content-Type': 'application/json'
    },
    data: params
  })
}